<?php $this->widget('bootstrap.widgets.BootAlert'); ?>
<h1><?php echo Yii::t('view', 'Login'); ?></h1>
<?php 
$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(
	'id'=>'input-form',
	'enableAjaxValidation'=>false,
    'htmlOptions'=>array('class'=>'well'),
)); ?>

<fieldset>
	<?php echo $form->errorSummary($model); ?>
    <?php echo $form->textFieldRow($model,'username', array('prepend'=>'<i class="icon-envelope"></i>')); ?>
    <?php echo $form->passwordFieldRow($model,'password', array('prepend'=>'<i class="icon-lock"></i>')); ?>
</fieldset>
<div class="form-actions">
    <?php $this->widget('bootstrap.widgets.BootButton', array('buttonType'=>'submit', 'type'=>'primary', 'icon'=>'ok white', 'label'=>Yii::t('view', 'Login'))); ?>
</div>
<?php $this->endWidget(); ?>